package vip.xiaonuo.modular.business.entity.BiUserIndexType;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import vip.xiaonuo.core.pojo.base.node.BaseTreeNode;

import java.util.List;

/**
 * @Description
 * @Author cy
 * @Date 2022/8/3 16:48
 * @Version 1.0
 */
@ApiModel
@Data
public class DefaultIndexVo implements BaseTreeNode {

    @ApiModelProperty("指标id")
    private Long id;

    @ApiModelProperty("显示/隐藏")
    private String isShow;

    @ApiModelProperty("指标名称")
    private String name;

    @ApiModelProperty("指标类型")
    private String type;

    @ApiModelProperty("指标图样地址")
    private String imageUrl;

    private Long pid;
    private String pids;
    private String ico;
    private List<DefaultIndexVo> children;
    private String description;
    private JSONObject jsonData;

    @Override
    public void setChildren(List children) {
        this.children = children;
    }
}
